﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using aerowan.common.Network;

namespace aerowan.server.Network.Packets
{
    public class SCPkt_Login : BaseLocalPacket
    {
        public bool? Success;

        public SCPkt_Login()
            : base(0x06)
        {

        }

        public override void WritePacket(NetConnection con)
        {
            if (Success == true) this.WriteByte(0x01);
            else if (Success == false) this.WriteByte(0x00);
            else if (Success == null) this.WriteByte(0x12);
        }
    }
}
